<?php

namespace app\api\controller;

use think\response\Json;

class WxGroup extends Base
{

    /**
     * get
     * @return Json
     */
    public function get(): Json
    {
        // 提取参数
        $param = $this->request->param();

        // 查询微信群
        $result = app(\app\api\logic\WxGroup::class)->get($param);

        // 返回
        return $this->response($result);
    }
}
